#pragma once

#include "SqlProtocol.hpp"


class HttpClient
{
	static const int ERROR_PAUSE = 10*1000;

public:
	static void receive(SqlRequest &request);
	static void send(const SqlResponse &response);
	static void reset();

	static bool httpSend(LPCWSTR domain, LPCWSTR path, LPCWSTR verb, const std::string *body = NULL, std::string *response = NULL);
};
